Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate Interoperability Event Features to wwwverifier #371

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

suzannajiwani
Copy link
Contributor

Added the ability to chose between request scenarios, as well as required checks + associated logging. Also added the ability to render the returned portrait image.

Manually tested.

Fixes #358

mOriginInfos.add(originInfo);
}
} catch (Exception e) {
Logger.w(TAG, "OriginInfo is incorrectly formatted. We expect OriginInfo = {\"cat\": uint, \"type\": uint, \"details\": tstr} in accordance with WD6 of 18013-7.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is overly verbose. Just "OriginInfo is incorrectly formatted" also please include e in the Logger.w() call.

Copy link
Contributor

@davidz25 davidz25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing and then I think it's ready to go!

mOriginInfos.add(originInfo);
}
} catch (Exception e) {
Logger.w(TAG, "OriginInfo is incorrectly formatted." + e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's more correct to use the Logger variant which takes an error, e.g. Logger.w(TAG, "foo", e) instead of Logger.w(TAG, "foo" + e)

Added the ability to chose between request scenarios, as well
as required checks + associated logging. Also added the ability
to render the returned portrait image.

Manually tested.
@davidz25 davidz25 merged commit 954f661 into openwallet-foundation-labs:master Oct 26, 2023
2 checks passed
@suzannajiwani suzannajiwani deleted the issue-358 branch November 20, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functionality to wwwverifier for interop event
2 participants